Duplicator\Libs\Snap\SnapIO D

Total Complexity 284
Dependencies 6
Dependents 51
Total lines 1,578
Lines of code 829
Logical lines of code 525
Comment lines 535
Methods 51
Properties 0

Methods 51

Method Rating Maintainability Complexity Lines of code
chmod()
C
35 27 81
regexGlobCallbackPrivate()
B
42 20 48
appendFileToFile()
A
44 14 42
mkdirP()
A
46 12 36
regexGlobCallback()
A
49 10 31
rcopy()
A
51 10 28
emptyDir()
A
50 10 27
getLastLinesOfFile()
A
47 9 36
getCommonPath()
A
50 8 29
rrmdir()
A
53 8 24
fopen()
A
53 8 23
sortBySubfoldersCount()
A
54 8 21
fseek()
A
54 8 19
isChildPath()
A
55 8 19
rename()
A
57 8 17
filePutContents()
S
54 7 19
dirAddFullPermsAndCheckResult()
S
61 7 12
tailFile()
S
51 6 25
unlink()
S
58 6 16
getInclude()
S
56 5 19
fwriteChunked()
S
56 5 17
mkdir()
S
59 5 14
permsToString()
S
62 5 11
normalizePath()
S
57 4 16
dirWriteCheckOrMkdir()
S
63 5 9
getRelativePath()
S
58 4 14
getOpenBaseDirRootOfPath()
S
64 4 9
rmdir()
S
63 4 10
rm()
S
63 4 10
fileAddFullPermsAndCheckResult()
S
65 4 9
safePathUntrailingslashit()
S
64 3 10
copy()
S
65 3 10
fclose()
S
72 3 5
touch()
S
65 3 9
safePath()
S
64 3 10
isStream()
S
66 2 8
getRelativeDirname()
S
70 2 6
filesize()
S
68 2 7
getOpenBaseDirPaths()
S
70 2 6
getMaxAllowedRootOfPath()
S
64 2 9
ftell()
S
67 2 8
fgets()
S
68 2 7
flock()
S
72 2 5
filemtime()
S
68 2 7
fwrite()
S
66 2 8
safePathTrailingslashit()
S
78 1 3
trailingslashit()
S
78 1 3
removeRootPath()
S
78 1 3
isOpenBaseDirEnabled()
S
75 1 4
untrailingslashit()
S
79 1 3
regexGlob()
S
69 1 7